package com.kunbo.cn.service.core.card;

import java.util.List;
import java.util.Map;
import com.kunbo.cn.entity.core.card.IssuanceCard;
import com.kunbo.cn.util.retu.Pages;
public interface IssuanceCardService {
	public void save(IssuanceCard card);
	public void update(IssuanceCard card);//
	public void PatchCard(IssuanceCard card);
	public int updateState(String id,String state);
	public void delete(Integer id);
	public IssuanceCard findById(Integer id);
	public Pages list(String ic_card_number,String car_number,String id_card,String state,Integer page,Integer pageSize);
	List<Map<String,Object>> carDriver();
	List<Map<String,Object>> carNumber();
	//根据身份证号获取当前记录
	public List<Map<String,Object>> findByIdCard(String idCard);
	
	//根据IC卡号获取当前记录
	public List<Map<String,Object>> findByIdCardNumber(String icCardNumber);
	//注销IC卡
	public int logOffIC(String icNumber);
	
}
